package com.binance.gateway.config;

import com.binance.gateway.app.constant.Constant;
import com.binance.master.constant.MQConstant;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitMQConfig {
    @Bean
    public Queue queue() {
        return new Queue(Constant.MSG_KEY_USER_OPERATION);
    }

    @Bean
    public Queue ipBlacklistQueue() {
        return new Queue(MQConstant.IP_BLACKLIST_QUEUE);
    }

}
